package com.smalltao.web.controller;

import com.smalltao.core.base.controller.BaseController;
import com.smalltao.core.base.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author smallTao.liu
 * @version V1.0
 * @description
 * @date 2018/11/14 15:33
 */
@RestController
@RequestMapping("/test")
public class TestController extends BaseController {

    @GetMapping("/list")
    @ApiOperation(value = "12313212", notes = "adwdwadwadaw")
    public Result list(Integer aaa, String bbb) {
        return new Result().success(String.valueOf(aaa) + ",," + bbb);
    }

}
